package com.project.servlet;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class StudentController {
    public void add(HttpServletRequest request, HttpServletResponse response){
        try {
            response.getWriter().println("添加");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    public void del(HttpServletRequest request, HttpServletResponse response){
        try {
            response.getWriter().println("删除");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    public void update(HttpServletRequest request, HttpServletResponse response){
        try {
            response.getWriter().println("修改");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    public void find(HttpServletRequest request, HttpServletResponse response){
        try {
            response.getWriter().println("查询");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
